<?php
if($_SESSION['id']) {
	$mail=explode("@", $GLOBALS['user']->mail);
	$GLOBALS['buttons'].='<span class="btn"><a href="javascript:mail(\''.$mail[0].'\',\''.$mail[1].'\');"><img src="'.$GLOBALS['theme_path'].$GLOBALS['theme_img']['mail'].'" alt="" /></a></span>';
}
?>
